package com.qf.service;

import com.qf.domain.Cart;

import java.util.List;

/**
 * @author YDW
 * projectName:shopping
 * time:2022/4/19 22:13
 * description:
 */
public interface CartService {
    Cart findByUidAndGid(int id, int parseInt);

    void insert(Cart cart);

    void updateCart(Cart cart);

    List<Cart> findCartByUid(int id);

    void deleteCart(int id, int parseInt);

    void clearCartByUid(int id);
}
